import { network } from '@/utils';
import { TableListParams } from './data';

import { basic } from '../../../../../config/Apis';

export async function queryDetailInfo(params: TableListParams) {
  return network.get(basic.express, { params });
}

export async function saveCourier(params: TableListParams | any) {
  return network.post(basic.express, params);
}

export async function updateCourier(params: TableListParams | any) {
  return network.put(basic.express, params);
}
